package com.jielin.handling.service.goods;

import com.jielin.handling.entity.goods.Belongings;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * Created by wangjienice on 2019/3/19.
 */
public interface GoodsService {
    int addGoods(Belongings belongings);//嫌疑人随身物品新增
    int delGoods(String id);//随身物品的删除
    int upDateGoods(String filePath,String id);//物品返还时照片地址的存储
    int upDateVdieoGoods(String path, String id);//物品返还时视频地址存储
    List<Belongings>  selectAll(Belongings belongings);//查询所有的随身物品信息
    int updateByPrimaryKey(Belongings belongings);//领取人信息更新
    int upDateZkGoods(String id);
    Belongings selectById(String id);//根据id查询物品信息
    String  goodsPrintByType(Belongings belongings);//物品返还2种状态打印pdf表格

    List<Belongings> selectGoods(String policeId);//根据嫌疑人id查询随身物品

    int updateSuspectGoods(Belongings belongings);

    String  selectAllByType(Belongings belongings);//(打印所有物品)

    int upDateGoods2(MultipartFile file, String id,String fileString);

    Belongings addGoods2(MultipartFile file, String fileString,String suspectId);
}
